how to find the union of sets